#!/usr/bin/env bash


ROOT=`pwd`

echo "$ROOT"

mkdir -p "$ROOT""/deploy/gotechweb/html"
rm -rf "$ROOT""/deploy/gotechweb/html"

cp -rf "$ROOT""/techfront/"  "$ROOT""/deploy/gotechweb/" && mv "$ROOT""/deploy/gotechweb/techfront" "$ROOT""/deploy/gotechweb/html"

ls -lh "$ROOT""/deploy/gotechweb/html"


cd  "$ROOT""/deploy/gotechweb"
docker pull nginx:1.15.2-alpine
docker build -t gotechweb/v1:stable .



rm -rf "$ROOT""/deploy/gotechweb/html"